package com.snailct.bpp.router.datachange;



import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * Created by huangxa on 2016/5/22.
 */
public class FilePath {
    public String getInFilePath(String messageDirection){
        String filePath ="";
        String sqlStr = "select paramterName,parameterValue from SOA_SYS_Parameter where paramterName = 'XSDFilePath'";
        ResultSet rs = DaoOperation.executeQuery(sqlStr);

            try {
                if(rs.next()) {
                    return rs.getString("parameterValue")+"/"+messageDirection+"/";
                }
            } catch (SQLException e) {
                e.printStackTrace();
            }


        return "";
    }
}
